package Javatest2;

public class test2 {
    public static void main(String[] args) {
        int a=6;
        char str=a%2==0?'偶':'奇';
        System.out.println("str = " + str);

    }
}
